package com.ruyuan.rapid.common.exception;

import com.ruyuan.rapid.common.enums.ResponseCode;

/**
 * 路径不匹配异常
 * @author mac
 */
public class RapidPathNoMatchedException extends RapidBaseException {

    public RapidPathNoMatchedException() {
        this(ResponseCode.PATH_NO_MATCHED);
    }

    public RapidPathNoMatchedException(ResponseCode code) {
        super(code.getMessage(), code);
    }

    public RapidPathNoMatchedException(Throwable cause, ResponseCode code) {
        super(cause.getMessage(), code);
    }
}
